package com.example.fms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("role_rights")
public class RoleRights {
    //id
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Long id;

    @TableField("rights_id")
    private Long rightsId;

    @TableField("role")
    private Long role;
}
